﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sealight.Core.DataAdapter;

namespace Sealight.Core.Domain
{
   public class DistrictEntity
    {
       public virtual Guid DistrictID { get; set; }
       public virtual string DistrictName { get; set; }

       public virtual CityEntity City { get; set; }

       public virtual district ToAdapter()
       {
           return new district { id = this.DistrictID, name = this.DistrictName };
       }
    }
}
